package com.moonshine.spdemo.service;

import com.moonshine.spdemo.mapper.UserInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GetUserService {

    @Autowired
    UserInfoMapper userInfoMapper;
    public Object getUserInfo(int id) {
        return userInfoMapper.queryUserById(id);
    }
}
